/*
 * Copyright 2010 Michael Nitsche
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package de.mnit.basis.sys.datei;

import java.io.File;

import de.mnit.basis.fehler.system.F_Sys_Datei;

/**
 * @author Michael Nitsche
 */
public interface S_DS_Element { //extends S_Gleich<S_DS_Element> {

	boolean existiert();
	File    gFile();
	String  gPfad();
	String  gPfadKomplett();
	String  gName();
	String  gNameKomplett();
	S_Ordner gElternOrdner();
	boolean istOrdner();
	boolean istVersteckt();

	void umbenennen(String neu) throws F_Sys_Datei;
//	void verschieben(S_Ordner nach) throws F_DateiSys;
	void loeschen() throws F_Sys_Datei;

	boolean istGleich(S_DS_Element a);

}
